|
Foxit PDF SDK
|
Public 成员函数 | |
| def | XFAPage (other) |
| 构造函数,使用另一个 XFA 页面对象。 更多... | |
| def | GetDisplayMatrix (left, top, width, height, rotate) |
| 获取显示矩阵,从 PDF 坐标系统到目标设备坐标系统。 更多... | |
| def | GetFirstWidget () |
| 获取当前制表顺序中的第一个 XFA 控件。 更多... | |
| def | GetHeight () |
| 获取 XFA 页面的高度。 更多... | |
| def | GetIndex () |
| 获取 XFA 页面的索引。 更多... | |
| def | GetLastWidget () |
| 获取当前制表顺序中的最后一个 XFA 控件。 更多... | |
| def | GetNextWidget (widget) |
| 获取当前制表顺序中指定 XFA 控件的下一个 XFA 控件。 更多... | |
| def | GetPrevWidget (widget) |
| 获取当前制表顺序中指定 XFA 控件的上一个 XFA 控件。 更多... | |
| def | GetWidget (widget_index) |
| 按索引获取 XFA 控件。 更多... | |
| def | GetWidgetAtDevicePoint (matrix, device_point, tolerance) |
| 在设备坐标系统中的指定点获取 XFA 控件。 更多... | |
| def | GetWidgetByFullName (full_name) |
| 获取在当前 XFA 页面中与指定全名匹配的 XFA 控件。 更多... | |
| def | GetWidgetCount () |
| 获取 XFA 控件的数量。 更多... | |
| def | GetWidth () |
| 获取宽度。 更多... | |
| def | IsEmpty () |
| 检查当前对象是否为空。 更多... | |
类 XFAPage 表示从 XFA 文档对象检索的 XFA 页面。
要渲染 XFA 页面,请使用函数 FoxitPDFSDKPython2.Renderer.StartRenderXFAPage 。
| def FoxitPDFSDKPython2.XFAPage.XFAPage | ( | other | ) |
构造函数,使用另一个 XFA 页面对象。
| [in] | other | 另一个 XFA 页面对象。 |
| def FoxitPDFSDKPython2.XFAPage.GetDisplayMatrix | ( | left, | |
| top, | |||
| width, | |||
| height, | |||
| rotate | |||
| ) |
获取显示矩阵,从 PDF 坐标系统到目标设备坐标系统。
| [in] | left | 设备坐标系统中变换区域的左侧位置,通常以像素为单位。 |
| [in] | top | 设备坐标系统中变换区域的顶部位置,通常以像素为单位。 |
| [in] | width | 设备坐标系统中变换区域的宽度,通常以像素为单位。 |
| [in] | height | 设备坐标系统中变换区域的高度,通常以像素为单位。 |
| [in] | rotate | 旋转值。请参考从 FoxitPDFSDKPython2.e_Rotation0 开始的值, 这应该是这些值之一。 |
| def FoxitPDFSDKPython2.XFAPage.GetFirstWidget | ( | ) |
获取当前制表顺序中的第一个 XFA 控件。
| def FoxitPDFSDKPython2.XFAPage.GetHeight | ( | ) |
获取 XFA 页面的高度。
| def FoxitPDFSDKPython2.XFAPage.GetIndex | ( | ) |
获取 XFA 页面的索引。
| def FoxitPDFSDKPython2.XFAPage.GetLastWidget | ( | ) |
获取当前制表顺序中的最后一个 XFA 控件。
| def FoxitPDFSDKPython2.XFAPage.GetNextWidget | ( | widget | ) |
获取当前制表顺序中指定 XFA 控件的下一个 XFA 控件。
| [in] | widget | 有效的指定 XFA 控件。 |
| def FoxitPDFSDKPython2.XFAPage.GetPrevWidget | ( | widget | ) |
获取当前制表顺序中指定 XFA 控件的上一个 XFA 控件。
| [in] | widget | 有效的指定 XFA 控件。 |
| def FoxitPDFSDKPython2.XFAPage.GetWidget | ( | widget_index | ) |
按索引获取 XFA 控件。
| [in] | widget_index | XFA 控件索引。有效范围:从 0 到 (count-1)。 count 由函数 FoxitPDFSDKPython2.XFAPage.GetWidgetCount 返回。 |
| def FoxitPDFSDKPython2.XFAPage.GetWidgetAtDevicePoint | ( | matrix, | |
| device_point, | |||
| tolerance | |||
| ) |
在设备坐标系统中的指定点获取 XFA 控件。
| [in] | matrix | 变换矩阵。通常这由函数 FoxitPDFSDKPython2.XFAPage.GetDisplayMatrix 返回。 |
| [in] | device_point | 设备坐标系统中的点。 |
| [in] | tolerance | 容差值。有效范围:0.0f 到 30.0f。 |
| def FoxitPDFSDKPython2.XFAPage.GetWidgetByFullName | ( | full_name | ) |
获取在当前 XFA 页面中与指定全名匹配的 XFA 控件。
| [in] | full_name | XFA 控件的全名。它不应该是空字符串。 XFA 控件的全名可以通过函数 FoxitPDFSDKPython2.XFAWidget.GetName 使用类型 FoxitPDFSDKPython2.XFAWidget.e_WidgetNameTypeFullName 在之前的过程中检索。 |
| def FoxitPDFSDKPython2.XFAPage.GetWidgetCount | ( | ) |
获取 XFA 控件的数量。
| def FoxitPDFSDKPython2.XFAPage.GetWidth | ( | ) |
获取宽度。
| def FoxitPDFSDKPython2.XFAPage.IsEmpty | ( | ) |
检查当前对象是否为空。
当前对象为空时,表示当前对象无用。